package com.safewind.dao;

import java.util.List;

import com.safewind.model.AddressGroup;

public interface AddressGroupDao {
	int deleteByPrimaryKey(String pkId);

	int insert(AddressGroup record);

	int insertSelective(AddressGroup record);

	AddressGroup selectByPrimaryKey(String pkId);

	int updateByPrimaryKeySelective(AddressGroup record);

	int updateByPrimaryKey(AddressGroup record);

	AddressGroup selectDefault(String UserId);

	List<AddressGroup> getAllGroup(String userId);

	List<AddressGroup> selestAddressGroupByName(String name, String userId);

	void deleteAllByUserId(String userId);
}